home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 2000
/
MacHack 2000.toast
/
pc
/
The Hacks
/
Softshoe
/
Lisa's Mac Parts
/
Broadcaster
/
Broadcaster.cp
next >
Wrap
Text File
|
2000-06-23
|
352b
|
18 lines
// Broadcaster.cp
#ifndef Broadcaster_h
#include "Broadcaster.h"
#endif
#ifndef BroadcastLoop_h
#include "BroadcastLoop.h"
#endif
template < class Protocol >
void Broadcaster<Protocol>::Send( void (Protocol::*message)() )
{
for ( BroadcastLoop<Protocol> receiver( *this );
receiver.Unfinished();
receiver++ )
((*receiver).*message)();
}